<!DOCTYPE html>
<html ng-app="todoApp">
<head>
  <title>Angular Todo Application</title>

  <!-- Viewport mobile tag for sensible mobile support -->
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <!--STYLES-->
  <link rel="stylesheet" href="/styles/bootstrap.css">
  <link rel="stylesheet" href="/styles/importer.css">
  <!--STYLES END-->
  <!--SCRIPTS-->
  <script src="/js/angular.js"></script>
  <script src="/js/app.js"></script>
  <script src="/services/TodoService.js"></script>
  <script src="/js/dependencies/sails.io.js"></script>
  <!--SCRIPTS END-->
</head>
<body>
    <div class="container" ng-controller="TodoCtrl">
        <div class="jumbotron">
            <h1 align="center">Todo Application</h1>
            <br>
            <div id="todo-form" class="row">
                <div class="col-sm-8 col-sm-offset-2 text-center">
                    <form>
                        <div class="form-group">
                            <input type="text" class="form-control input-lg text-center" placeholder="Add Todo!" ng-model="formData.value">
                            <br>
                            <button type="submit" class="btn btn-primary btn-lg" ng-click="addTodo()">Add Todo</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <div id="todo-list" class="row">
            <div class="col-sm-4 col-sm-offset-4">
                <div class="checkbox" ng-repeat="todo in todos">
                    <label>
                        <input type="checkbox" ng-click="removeTodo(todo)">
                        {{ todo.value }}
                    </label>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
